package com.jcp.entity;

import javax.persistence.Id;

import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

/**
 * �û���Ϣ��ʵ����
 * 
 * @author �����
 *
 */
@NameStyle(Style.normal)
public class Users {
	@Id
	private String carNumber;// ���ƺ�
	private String userName;// �û���
	private String password;// �û�����
	private String phoneNumber;// �绰����
	private Double remainder;// �˻����
	private String membership_expires_date;// ��Ա����ʱ��
	private String carModel;// �����ͺ�
	private String carColor;// ������ɫ
	
	public Users() {
		// TODO Auto-generated constructor stub
	}

	public String getCarNumber() {
		return carNumber;
	}

	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Double getRemainder() {
		return remainder;
	}

	public void setRemainder(Double remainder) {
		this.remainder = remainder;
	}

	public String getMembership_expires_date() {
		return membership_expires_date;
	}

	public void setMembership_expires_date(String membership_expires_date) {
		this.membership_expires_date = membership_expires_date;
	}

	public String getCarModel() {
		return carModel;
	}

	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}

	public String getCarColor() {
		return carColor;
	}

	public void setCarColor(String carColor) {
		this.carColor = carColor;
	}

	public Users(String carNumber, String userName, String password, String phoneNumber, Double remainder,
			String membership_expires_date, String carModel, String carColor) {
		super();
		this.carNumber = carNumber;
		this.userName = userName;
		this.password = password;
		this.phoneNumber = phoneNumber;
		this.remainder = remainder;
		this.membership_expires_date = membership_expires_date;
		this.carModel = carModel;
		this.carColor = carColor;
	}

	@Override
	public String toString() {
		return "Users [carNumber=" + carNumber + ", userName=" + userName + ", password=" + password + ", phoneNumber="
				+ phoneNumber + ", remainder=" + remainder + ", membership_expires_date=" + membership_expires_date
				+ ", carModel=" + carModel + ", carColor=" + carColor + "]";
	}
	
}
